﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharp实现Unity协程
{
    class Time
    {
        /// <summary>
        /// 每帧时间(毫秒)
        /// </summary>
        public static int deltaMilliseconds
        {
            get
            {
                return 20;
            }
        }
        /// <summary>
        /// 每帧时间(秒)
        /// </summary>
        public static float deltaTime
        {
            get
            {
                return (float)deltaMilliseconds / 1000;
            }
        }
    }
}
